# -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models


class Migration(SchemaMigration):

    def forwards(self, orm):
        # Adding model 'Course'
        db.create_table('course_course', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('course_id', self.gf('django.db.models.fields.CharField')(unique=True, max_length=255)),
            ('course_title', self.gf('django.db.models.fields.CharField')(max_length=255)),
            ('course_subtitle', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
            ('course_description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
            ('course_css', self.gf('django.db.models.fields.files.FileField')(max_length=100, null=True, blank=True)),
            ('course_js', self.gf('django.db.models.fields.files.FileField')(max_length=100, null=True, blank=True)),
            ('course_favicon', self.gf('django.db.models.fields.files.FileField')(max_length=100, null=True, blank=True)),
            ('show_until', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
            ('accessible_until', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
            ('display_grade_metrics', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('activity_title', self.gf('django.db.models.fields.CharField')(default='Activity', max_length=50)),
            ('activity_title_plural', self.gf('django.db.models.fields.CharField')(default='Activities', max_length=50)),
            ('default_submissions_allowed', self.gf('django.db.models.fields.PositiveIntegerField')(default=10)),
        ))
        db.send_create_signal('course', ['Course'])


    def backwards(self, orm):
        # Deleting model 'Course'
        db.delete_table('course_course')


    models = {
        'course.course': {
            'Meta': {'object_name': 'Course'},
            'accessible_until': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
            'activity_title': ('django.db.models.fields.CharField', [], {'default': "'Activity'", 'max_length': '50'}),
            'activity_title_plural': ('django.db.models.fields.CharField', [], {'default': "'Activities'", 'max_length': '50'}),
            'course_css': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
            'course_description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            'course_favicon': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
            'course_id': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
            'course_js': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
            'course_subtitle': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'course_title': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
            'default_submissions_allowed': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10'}),
            'display_grade_metrics': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'show_until': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'})
        }
    }

    complete_apps = ['course']